<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
		<form id="suggestForm"  method="post" enctype="multipart/form-data">
        <div class="center_box feedback_box">
            <table cellpadding="0" cellspacing="0" class="feedback_tab">
            	<tr>
                	<td class="label">标题：</td>
                    <td><input type="text" class="fb_title" id="title" name="title"/></td>
                </tr>
                <tr>
                	<td class="label re_top">邮箱/手机：</td>
                    <td>
                    	<input type="text" class="fb_phone" id="phone" name="phone"/>
                    	<p class="top10">留下您的邮箱，以便我们将处理结果通知给您，我们会严格保密</p>
                    </td>
                </tr>
               
                <tr>
                	<td class="label re_top">描述：</td>
                    <td>
                    	<textarea class="feedback_text" id="content" name="content"></textarea> 
                    </td>
                </tr>
                <tr>
                	<td class="label re_top">上传图片:</td>
                    <td>
                        <input type="file" class="load_pic" id="pic" name="pic" />
                    </td>
                </tr>
                <tr>
                	<td></td>
                    <td>
                    	<a href="javascript:postSuggest();" title="确定" class="pop_bt">确定</a>
                    </td>
                </tr>
            </table>	
        </div>
        </form>
<script type="text/javascript">
<!--
function postSuggest(){	
	$.uploadEx({        
		url: '${ctx}/frontSys!addSuggest.action', 
		formId: "suggestForm",
		dataType: 'json',  
		onSend: function() {
	        return true;
	    },     
		onComplate: function(json) {        	
			if (json.code==0) {	
				alert('提交成功，感谢您的对本站关注！');	
				location.href='${ctx}/front!viewIndex.action';
			}else{
				alert('提交失败！');
			}
		}
	});
}
//-->
</script>